package org.tiger.springboot.redis.service.impl;

import org.springframework.stereotype.Service;
import org.tiger.common.domain.ResponseBean;
import org.tiger.springboot.redis.service.SecKillService;

import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

@Service
public class SecKillServiceImpl implements SecKillService {

    private Lock lock = new ReentrantLock(true);

    @Override
    public ResponseBean<Object> secKillByCountDownLatch(String secKillGoodsId) {
        return null;
    }

    @Override
    public ResponseBean<Object> secKillByLock(String secKillGoodsId) {
        return null;
    }

}
